package com.madou.yy.football;

import javax.swing.*;
import java.awt.*;

public class Ball extends JLabel{

    int startX = 0 ;
    int startY = 0;
    public Ball(){
        this.setPreferredSize(new Dimension(64,64));
        this.setIcon(new ImageIcon(ResourcesUtil.getRootPath()+"\\ball\\football.png"));// 加载图片
    }

}
